package com.zeroone.star.sample.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 声明式调用Seata Feign接口
 */

@FeignClient(name = "${sn.seata}")
public interface SeataFeignService {
    //测试保存声明式调用
    @PostMapping("seata/test-save")
    Integer testSave();
}
